package cn.webrx;

import java.io.File;

public class Dir5 {
    public static void main(String[] args) {
        File file = new File("d:\\abcxx");
        //File[] fs = file.listFiles();
        File[] fs = file.listFiles(f->f.getName().endsWith("java"));
        System.out.println(fs.length);
        for(File t : fs){
            System.out.println(t.getAbsoluteFile());
        }
    }
}
